module.exports = function(app){

    var uri = app.get("routes");
    var route = {
        GET  : {
            index : require(uri+'/index'),
            api   : require(uri+'/api')
        }
    };

    app.use('/', route.GET.index(app));
    app.use('/api', route.GET.api(app));
};